<%@page import="java.net.URLDecoder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>易买网 - 首页</title>
<link type="text/css" rel="stylesheet" href="css/style.css" />
<script type="text/javascript" src="scripts/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="scripts/function.js"></script>
</head>
<body>
<%
String commodityID = request.getParameter("commodityID");
String commodityName = request.getParameter("commodityName");
String commodityNameString = new String(commodityName.getBytes("ISO-8859-1"),"UTF-8");
String commodityPrice=request.getParameter("commodityPrice");
String pictureSource = request.getParameter("pictureSource");
%>

<div id="header" class="wrap">
	<div id="logo"><img src="images/logo.gif" /></div>
	<div class="help"><a href="/easyBuy170601/ShoppingCarInfoServlet" class="shopping">购物车X件</a><a href="login.jsp">登录</a><a href="register.jsp">注册</a><a href="guestbook.jsp">留言</a><a href="manage/index.jsp">后台管理</a></div>
	<div class="navbar">
		<ul class="clearfix">
			<li class="current"><a href="#">首页</a></li>
			<li><a href="#">图书</a></li>
			<li><a href="#">百货</a></li>
			<li><a href="#">品牌</a></li>
			<li><a href="#">促销</a></li>
		</ul>
	</div>
</div>
<div id="childNav">
	<div class="wrap">
		<ul class="clearfix">
			<li class="first"><a href="#">音乐</a></li>
			<li><a href="#">影视</a></li>
			<li><a href="#">少儿</a></li>
			<li><a href="#">动漫</a></li>
			<li><a href="#">小说</a></li>
	
			<li class="last"><a href="#">Investor Relations</a></li>
		</ul>
	</div>
</div>
<div id="position0" class="wrap">
	您现在的位置：<a href="index.jsp">易买网</a> &gt; 结账
</div>
<div id="main" class="wrap">
	<div class="lefter">
		<div class="box">
			<h2>商品分类</h2>
			<dl>
				<dt>图书音像</dt>
				<dd><a href="product-list.html">图书</a></dd>
				<dd><a href="product-list.html">音乐</a></dd>
				<dt>百货</dt>
				<dd><a href="product-list.html">运动健康</a></dd>
				<dd><a href="product-list.html">服装</a></dd>
				<dd><a href="product-list.html">家居</a></dd>

			</dl>
		</div>
	</div>
</div>
<div class="">
	<div id="">
			<table>
				<tr>
					<th>商品名称</th>
					<th>商品价格</th>
					<th>购买数量</th>
				</tr>

				<tr id="product_id_0">
					<td class="thumb"><img src="<%=pictureSource %>" /><a href="product-view.html"><%=commodityNameString %></a></td>
					<td class="price" id="price_id_0">
						<span><%=commodityPrice %></span>
					</td>
					
				</tr>
			           
			</table>
            <div class="total"><span id="total">总计：￥<%=commodityPrice %></span></div>
	</div>
	<script type="text/javascript">
		/* document.write("Cookie中记录的购物车商品ID："+ getCookie("product") + "，可以在动态页面中进行读取"); */
	</script>
</div>
<div id="news" class="right-main">
		<h1>&nbsp;</h1>
		<div class="content">
            <form action="/easyBuy170601/ShoppingResult_1?commodityID=<%=commodityID %>" method="post">
                收货地址:<input name="address" id="addr" type="text" />
      
                <div class="button">  <input type="submit" value="结账" />    </div>
            </form>
		</div>
</div>
<div class="clear"></div>
<div id="position1" class="wrap"></div>
<div class="wrap">
	<div id="shopping"></div>
</div>
<div id="footer">
	Copyright &copy; 2010云和学院 All Rights Reserved. 京ICP证1000001号</div>
</body>

</html>
